package com.thread;

public class ThreadTest {
    public static void main(String[] args) {
        ThreadDemo demo = new ThreadDemo();
        demo.start();

        for (int i = 0; i < 4; i++) {
            System.out.println("main方法 " + i);
        }

    }
}
